function setdriveext(varargin)
if(nargin >= 1) % set path only
    htag = findobj('Tag', 'Path'); % uses a text string (no list).
    set(htag, 'String', varargin{1});
end;

% that's all we do for now - but later we might set other values as well

% if(nargin >= 2) % set drive identification... 
%     htag = findobj('Tag', 'Drive');
%     sdrv = get(htag, 'String');
%     strmatch(varargin{2}, drive = sdrv(get(htag, 'Value'),:); % uses drop down list
% 
% htag = findobj('Tag', 'FileExtension'); % uses drop down list
% str = get(htag, 'String');
% extension = str(get(htag, 'Value'),:);


return;
